package com.kaifamiao.www.demo.Do27.Test;

public class Person {
    public String name;

    protected int age;

    String habby;

    private double money;

    public Person(){
        System.out.println("pers");

    }
    void eat(){
        System.out.println("吃吃吃");
    }
    public void publicMehtod(){
        System.out.println("publicMethod");
    }
    protected void protectedMethod(){
        System.out.println("protectedMethod");
    }
    void packageAccessMethod(){
        System.out.println("packageAccessMethod");
    }
    private void privateMethod(){
        System.out.println("privateMethod");
    }
   
}
